<?php 
$arrCateVDQG = $this->arrMenu[CATE_ID_BONGDAQUOCTE]['child'];
if(!empty ($this->arrData) > 0) {
    $arr2news= array_splice($this->arrData, 0, 2);
    $arr3news = $this->arrData;
    $count3 = count($arr3news);
    
?>
<div class="block_vdqg box_width_common">
  <div class="title_block">
    <div class="txt_title_left_block">
      <h3>Giải vô địch các quốc gia</h3>
    </div>
    <!-- List Box NHA, CPL, TBN, ITLIA-->
    <ul class="list_qg">
      <li class="active"><a href="<?php echo $this->Categoryurl($arrCateVDQG[CATE_ID_PRIMERLEAGUE]['category_id']);?>"><?php echo $arrCateVDQG[CATE_ID_PRIMERLEAGUE]['catename']; ?></a> </li>
      <li><a href="<?php echo $this->Categoryurl($arrCateVDQG[CATE_ID_SERIA]['category_id']);?>"><?php echo $arrCateVDQG[CATE_ID_SERIA]['catename']; ?></a></li>
      <li><a href="<?php echo $this->Categoryurl($arrCateVDQG[CATE_ID_LALIGA]['category_id']);?>"><?php echo $arrCateVDQG[CATE_ID_LALIGA]['catename']; ?></a> </li>
      <li class="end"><a href="<?php echo $this->Categoryurl($arrCateVDQG[CATE_ID_BUNDESLIGA]['category_id']);?>"><?php echo $arrCateVDQG[CATE_ID_BUNDESLIGA]['catename']; ?></a></li>

    </ul>
    <div class="txt_view_more"><a class="txt_gray" href="<?php echo $this->Categoryurl(CATE_ID_BONGDAQUOCTE); ?>" title="Xem thêm" alt="Xem thêm">Xem thêm</a> <span class="icon_portal_thethao icon_view_more">&nbsp;</span></div>
    <div class="clear">&nbsp;</div>
  </div>
  <div class="content_block">
    <div class="main_content_block">
      <div class="w320 left">
        <div class="news_left"> 
          <!-- get thumbnail and 2 news-->
          <ul class="list_news">
            <?php foreach ($arr2news as $key => $news) { ?>
            <li class="<?php echo ($key==1)? 'end' :''; ?>">
              <?php if(!empty($news['thumbnail_url'])){ ?>
                <a href="<?php echo $news['share_url'];?>" title="<?php echo $news['title'];?>" alt="<?php echo $news['title'];?>"><img src="<?php echo $this->imageurl($news['thumbnail_url'],  $this->imageSize['size3']);?>" width="155" height="116" title="<?php echo $news['title'];?>" alt="<?php echo $news['title'];?>" /></a>
             <?php } ?>
              <div class="decs">
                <p><a href="<?php echo $this->articleurl($news); ?>" class="txt_black_hover_blue" title="<?php echo $news['title'];?>" alt="<?php echo $news['title'];?>"><b><?php echo $news['lead'];?></b></a></p>
                <p class="txt_gray txt_11"><?php echo $this->DateTimeFormat(isset($news['publish_time']) ? $news['publish_time'] : $news['update_time']);?><span class="icon_portal_thethao icon_commend">&nbsp;</span> <?php echo $this->articlecomment($news); ?></p>
              </div>
            </li>
            <?php }?>
          </ul>
        </div>
      </div>
      <!--3 tin sau do-->
      <div class="w320 right">
        <div class="news_right">
          <ul class="list_dot_3x3">
            <?php if( !empty ($arr3news)){ $arrLastItem = end($arr3news); foreach ($arr3news as $key =>$news) { $class = ( $arrLastItem['article_id'] == $news['article_id'])?'class = "end"':'';?>
            <li <?php echo $class;?> >
              <div class="box_width_common dot_bottom">
                <p><a href="<?php  echo $this->articleurl($news); ?>" class="txt_black_hover_blue" title="<?php echo $news['title'];?>" alt="<?php echo $news['title'];?>"><b>
                  <?php  echo $news['lead'];?>
                  </b></a></p>
                <p>
                  <?php  echo $news['lead'];?>
                </p>
              </div>
            </li>
            <?php } }?>
          </ul>
        </div>
      </div>
      <div class="clear">&nbsp;</div>
    </div>
  </div>
</div>
<?php } ?>